home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4170 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Wed, 14 Feb 96 00:57:53 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: Virtual memory on an 68000? Is it
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.4ebz@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 12 Feb 96 Juergen "rally" Fischer wrote to All:
  14.  
  15.  |>> You can't write a 030 (or 020) emulator for the 68000. Instructions like
  16.  |>> 'Move.l d0,(a0,d1.l*4)' are NOT trapped on the 68000.  The 68000 instead
  17.  |>> simply ignores the '*4' index :-(
  18.  
  19.  JrF> Well, so why I can run the Spectrum emulator if there is no PUSH HL
  20.  JrF> instruction on the 68020 ? ;->>
  21.  
  22. It is possible, but the easy and fast way using the Illegal Instruction vector
  23. is out of the question to do this.
  24.  
  25.  |>> The only thing you could do is write a 680x0 interpreter but that would
  26.  |>> be *REALLY* slow.
  27.  
  28.  JrF> interpreter... emulator... what ? :)
  29.  
  30. Eh, well, what I meant was that to run 68030 code on a 68000 then you have to
  31. read instructions yourself and decode them, ie, basicly you emulate each
  32. instruction seperately.  If you have a 68010 however then you can use the
  33. Illegal Instruction trap to emulate any 68030 instructions while 'normal'
  34. instructions execute as usual.  This is much faster.
  35.  
  36. Grtz John
  37.  
  38. -----------------------------------------------------------------------
  39.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  40. -----------------------------------------------------------------------
  41. -- Via Xenolink 1.985B5, XenolinkUUCP 1.1
  42.